/*
 * @Author: FengKongLi 
 * @Date: 2021-08-29 16:23:03 
 * @Last Modified by: FengKongLi
 * @Last Modified time: 2021-08-29 16:28:52
 */
// Home页
<template>
  <div>
   
    <router-view></router-view>
	<!-- 底部标签导航栏 -->
    <van-tabbar route active-color="#ee0a24" inactive-color="#000">
      <van-tabbar-item replace to="/index" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item replace to="/order" icon="orders-o"
        >订单</van-tabbar-item
      >
      <van-tabbar-item replace to="/money" icon="balance-o"
        >收益</van-tabbar-item
      >
      <van-tabbar-item replace to="/mine" icon="user-o">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
import { getToken } from "@/utils/auth";
import { info } from "@/api/user";
export default {
 
  data() {
    return {
		
	};
  },
  methods: {
    async getUser() {
      let token = getToken();
      let res = await info({ token });
    },
  },
  created() {
    this.getUser();
  },
};
</script>

<style scoped>
/* scoped修饰的仅在当前页面生效 */
</style>